<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class DMZ_Translations</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class DMZ_Translations</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This class adds posibility to set ordering of table for column using L.I.S.T. translations methods (constants and overlays).</p>
	<ul class="tags">
				<li><span class="field">author:</span> Andrej Jursa</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_extensions---translations.php.html">/extensions/translations.php</a> (line <span class="field"><a href="../__filesource/fsource_LIST_DMZ_Extensions__extensionstranslations.php.html#a10">10</a></span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																				
												<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#like_with_constant" title="details" class="method-name">like_with_constant</a>
											(<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$wrap</span> = <span class="var-default">'both'</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$strip_html</span> = <span class="var-default">FALSE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$lang_idiom</span> = <span class="var-default">NULL</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$constant_prefix</span> = <span class="var-default">'user_custom_'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#like_with_overlay" title="details" class="method-name">like_with_overlay</a>
											(<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$wrap</span> = <span class="var-default">'both'</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$strip_html</span> = <span class="var-default">FALSE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$lang_idiom</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#order_by_related_with_constant" title="details" class="method-name">order_by_related_with_constant</a>
											(<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$related</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$direction</span> = <span class="var-default">'asc'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$lang_idiom</span> = <span class="var-default">NULL</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$constant_prefix</span> = <span class="var-default">'user_custom_'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#order_by_related_with_overlay" title="details" class="method-name">order_by_related_with_overlay</a>
											(<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$related</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$direction</span> = <span class="var-default">'asc'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$lang_idiom</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#order_by_with_constant" title="details" class="method-name">order_by_with_constant</a>
											(<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$direction</span> = <span class="var-default">'asc'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$lang_idiom</span> = <span class="var-default">NULL</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$constant_prefix</span> = <span class="var-default">'user_custom_'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#order_by_with_overlay" title="details" class="method-name">order_by_with_overlay</a>
											(<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$direction</span> = <span class="var-default">'asc'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$lang_idiom</span> = <span class="var-default">NULL</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#or_like_with_constant" title="details" class="method-name">or_like_with_constant</a>
											(<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$wrap</span> = <span class="var-default">'both'</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$strip_html</span> = <span class="var-default">FALSE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$lang_idiom</span> = <span class="var-default">NULL</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$constant_prefix</span> = <span class="var-default">'user_custom_'</span>])
									</div>
																<div class="method-definition">
											<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
										<a href="#or_like_with_overlay" title="details" class="method-name">or_like_with_overlay</a>
											(<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$wrap</span> = <span class="var-default">'both'</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$strip_html</span> = <span class="var-default">FALSE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$lang_idiom</span> = <span class="var-default">NULL</span>])
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methodlike_with_constant" id="like_with_constant"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">like_with_constant</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_DMZ_Extensions__extensionstranslations.php.html#a130">130</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add like condition to where clause for column which can contain language constant.</p>
	<ul class="tags">
				<li><span class="field">return:</span> returns object for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			like_with_constant
		</span>
					(<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$wrap</span> = <span class="var-default">'both'</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$strip_html</span> = <span class="var-default">FALSE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$lang_idiom</span> = <span class="var-default">NULL</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$constant_prefix</span> = <span class="var-default">'user_custom_'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
				<span class="var-name">$object</span><span class="var-description">: model object which will be using this function.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$column</span><span class="var-description">: column name in table.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span><span class="var-description">: search text.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$wrap</span><span class="var-description">: wraping constant, can be 'both', 'before', 'after'.</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$strip_html</span><span class="var-description">: if set to TRUE it will strip html tags from column.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$lang_idiom</span><span class="var-description">: language idiom, default is NULL = current language idion set in language object.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$constant_prefix</span><span class="var-description">: prefix of user constant, default is 'user_custom_'.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodlike_with_overlay" id="like_with_overlay"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">like_with_overlay</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_DMZ_Extensions__extensionstranslations.php.html#a187">187</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add like condition to where clause for column which can be translated with language overlay.</p>
	<ul class="tags">
				<li><span class="field">return:</span> returns object for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			like_with_overlay
		</span>
					(<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$wrap</span> = <span class="var-default">'both'</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$strip_html</span> = <span class="var-default">FALSE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$lang_idiom</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
				<span class="var-name">$object</span><span class="var-description">: model object which will be using this function.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$column</span><span class="var-description">: column name in table.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span><span class="var-description">: search text.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$wrap</span><span class="var-description">: wraping constant, can be 'both', 'before', 'after'.</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$strip_html</span><span class="var-description">: if set to TRUE it will strip html tags from column.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$lang_idiom</span><span class="var-description">: language idiom, default is NULL = current language idion set in language object.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodorder_by_related_with_constant" id="order_by_related_with_constant"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">order_by_related_with_constant</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_DMZ_Extensions__extensionstranslations.php.html#a68">68</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add sorting of table deepest level in related table field.</p>
	<ul class="tags">
				<li><span class="field">return:</span> returns object for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			order_by_related_with_constant
		</span>
					(<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$related</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$direction</span> = <span class="var-default">'asc'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$lang_idiom</span> = <span class="var-default">NULL</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$constant_prefix</span> = <span class="var-default">'user_custom_'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
				<span class="var-name">$object</span><span class="var-description">: model object which will be using this function.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$related</span><span class="var-description">: slash separated list of deeply related models.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$column</span><span class="var-description">: column name in table.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$direction</span><span class="var-description">: sorting direction (asc | desc).</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$lang_idiom</span><span class="var-description">: language idiom, default is NULL = current language idion set in language object.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$constant_prefix</span><span class="var-description">: prefix of user constant, default is 'user_custom_'.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodorder_by_related_with_overlay" id="order_by_related_with_overlay"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">order_by_related_with_overlay</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_DMZ_Extensions__extensionstranslations.php.html#a96">96</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add sorting of table deepest level in related table field.</p>
	<ul class="tags">
				<li><span class="field">return:</span> returns object for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			order_by_related_with_overlay
		</span>
					(<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$related</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$direction</span> = <span class="var-default">'asc'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$lang_idiom</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
				<span class="var-name">$object</span><span class="var-description">: model object which will be using this function.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$related</span><span class="var-description">: slash separated list of deeply related models.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$column</span><span class="var-description">: column name in table.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$direction</span><span class="var-description">: sorting direction (asc | desc).</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$lang_idiom</span><span class="var-description">: language idiom, default is NULL = current language idion set in language object.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodorder_by_with_constant" id="order_by_with_constant"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">order_by_with_constant</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_DMZ_Extensions__extensionstranslations.php.html#a21">21</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add sorting of table on table level (not for deep relation), for column which is translated by language constant.</p>
	<ul class="tags">
				<li><span class="field">return:</span> returns object for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			order_by_with_constant
		</span>
					(<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$direction</span> = <span class="var-default">'asc'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$lang_idiom</span> = <span class="var-default">NULL</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$constant_prefix</span> = <span class="var-default">'user_custom_'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
				<span class="var-name">$object</span><span class="var-description">: model object which will be using this function.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$column</span><span class="var-description">: column name in table.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$direction</span><span class="var-description">: sorting direction (asc | desc).</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$lang_idiom</span><span class="var-description">: language idiom, default is NULL = current language idion set in language object.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$constant_prefix</span><span class="var-description">: prefix of user constant, default is 'user_custom_'.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodorder_by_with_overlay" id="order_by_with_overlay"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">order_by_with_overlay</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_DMZ_Extensions__extensionstranslations.php.html#a43">43</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add sorting of table on table level (not for deep relation), for column which is translated by language overlay.</p>
	<ul class="tags">
				<li><span class="field">return:</span> returns object for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			order_by_with_overlay
		</span>
					(<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$direction</span> = <span class="var-default">'asc'</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$lang_idiom</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
				<span class="var-name">$object</span><span class="var-description">: model object which will be using this function.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$column</span><span class="var-description">: column name in table.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$direction</span><span class="var-description">: sorting direction (asc | desc).</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$lang_idiom</span><span class="var-description">: language idiom, default is NULL = current language idion set in language object.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodor_like_with_constant" id="or_like_with_constant"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">or_like_with_constant</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_DMZ_Extensions__extensionstranslations.php.html#a159">159</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add like condition to where clause, with OR operator, for column which can contain language constant.</p>
	<ul class="tags">
				<li><span class="field">return:</span> returns object for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			or_like_with_constant
		</span>
					(<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$wrap</span> = <span class="var-default">'both'</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$strip_html</span> = <span class="var-default">FALSE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$lang_idiom</span> = <span class="var-default">NULL</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$constant_prefix</span> = <span class="var-default">'user_custom_'</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
				<span class="var-name">$object</span><span class="var-description">: model object which will be using this function.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$column</span><span class="var-description">: column name in table.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span><span class="var-description">: search text.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$wrap</span><span class="var-description">: wraping constant, can be 'both', 'before', 'after'.</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$strip_html</span><span class="var-description">: if set to TRUE it will strip html tags from column.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$lang_idiom</span><span class="var-description">: language idiom, default is NULL = current language idion set in language object.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$constant_prefix</span><span class="var-description">: prefix of user constant, default is 'user_custom_'.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodor_like_with_overlay" id="or_like_with_overlay"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">or_like_with_overlay</span> (line <span class="line-number"><a href="../__filesource/fsource_LIST_DMZ_Extensions__extensionstranslations.php.html#a215">215</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add like condition to where clause, with OR operator, for column which can be translated with language overlay.</p>
	<ul class="tags">
				<li><span class="field">return:</span> returns object for method chaining.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
		<span class="method-name">
			or_like_with_overlay
		</span>
					(<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$column</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$wrap</span> = <span class="var-default">'both'</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$strip_html</span> = <span class="var-default">FALSE</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$lang_idiom</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../DataMapper/DataMapper.html">DataMapper</a></span>
				<span class="var-name">$object</span><span class="var-description">: model object which will be using this function.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$column</span><span class="var-description">: column name in table.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span><span class="var-description">: search text.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$wrap</span><span class="var-description">: wraping constant, can be 'both', 'before', 'after'.</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$strip_html</span><span class="var-description">: if set to TRUE it will strip html tags from column.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$lang_idiom</span><span class="var-description">: language idiom, default is NULL = current language idion set in language object.</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Fri, 13 Sep 2013 12:32:58 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>